package com.lanhe.weichatTransferRec.domain;

import com.lanhe.common.annotation.Excel;
import com.lanhe.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 微信当日订单状态记录对象 lh_orders_weichat_transfer_rec
 * 
 * @author tianliang
 * @date 2024-02-29
 */
public class LhOrdersWeichatTransferRec
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @Excel(name = "主键id")
    private Long transferRecId;

    /** 商务号 */
    @Excel(name = "商务号")
    private String mchid;

    /** 商家批次单号 */
    @Excel(name = "商家批次单号")
    private String outBatchNo;

    /** 微信批次单号 */
    @Excel(name = "微信批次单号")
    private String batchId;

    /** 商户appid（WAIT_PAY: 待付款确认PROCESSING:转账中，PROCESSING:转账中，FINISHED:已完成，CLOSED:已关闭） */
    @Excel(name = "商户appid", readConverterExp = "W=AIT_PAY:,待=付款确认PROCESSING:转账中，PROCESSING:转账中，FINISHED:已完成，CLOSED:已关闭")
    private String appid;

    /** 批次状态 */
    @Excel(name = "批次状态")
    private String batchStatus;

    /** 批次类型（API:API方式发起，WEB:页面方式发起） */
    @Excel(name = "批次类型", readConverterExp = "A=PI:API方式发起，WEB:页面方式发起")
    private String batchType;

    /** 批次名称 */
    @Excel(name = "批次名称")
    private String batchName;

    /** 转账说明 */
    @Excel(name = "转账说明")
    private String batchRemark;

    /** 批次关闭原因 */
    @Excel(name = "批次关闭原因")
    private String closeReason;

    /** 转账总金额 */
    @Excel(name = "转账总金额")
    private Long totalAmount;

    /** 转账总笔数 */
    @Excel(name = "转账总笔数")
    private Integer totalNum;

    private String createTime;

    private String updateTime;

    /** 转账成功金额 */
    @Excel(name = "转账成功金额")
    private Long successAmount;

    /** 转账成功笔数 */
    @Excel(name = "转账成功笔数")
    private Integer successNum;

    /** 转账失败金额 */
    @Excel(name = "转账失败金额")
    private Long failAmount;

    /** 转账失败笔数 */
    @Excel(name = "转账失败笔数")
    private Integer failNum;

    /** 转账场景ID */
    @Excel(name = "转账场景ID")
    private String transferSceneId;

    public void setTransferRecId(Long transferRecId)
    {
        this.transferRecId = transferRecId;
    }

    public Long getTransferRecId()
    {
        return transferRecId;
    }
    public void setMchid(String mchid)
    {
        this.mchid = mchid;
    }

    public String getMchid()
    {
        return mchid;
    }
    public void setOutBatchNo(String outBatchNo) 
    {
        this.outBatchNo = outBatchNo;
    }

    public String getOutBatchNo() 
    {
        return outBatchNo;
    }
    public void setBatchId(String batchId) 
    {
        this.batchId = batchId;
    }

    public String getBatchId() 
    {
        return batchId;
    }
    public void setAppid(String appid) 
    {
        this.appid = appid;
    }

    public String getAppid() 
    {
        return appid;
    }
    public void setBatchStatus(String batchStatus) 
    {
        this.batchStatus = batchStatus;
    }

    public String getBatchStatus() 
    {
        return batchStatus;
    }
    public void setBatchType(String batchType) 
    {
        this.batchType = batchType;
    }

    public String getBatchType() 
    {
        return batchType;
    }
    public void setBatchName(String batchName) 
    {
        this.batchName = batchName;
    }

    public String getBatchName() 
    {
        return batchName;
    }
    public void setBatchRemark(String batchRemark) 
    {
        this.batchRemark = batchRemark;
    }

    public String getBatchRemark() 
    {
        return batchRemark;
    }
    public void setCloseReason(String closeReason) 
    {
        this.closeReason = closeReason;
    }

    public String getCloseReason() 
    {
        return closeReason;
    }
    public void setTotalAmount(Long totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public Long getTotalAmount()
    {
        return totalAmount;
    }
    public void setTotalNum(Integer totalNum) 
    {
        this.totalNum = totalNum;
    }

    public Integer getTotalNum() 
    {
        return totalNum;
    }


    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }


    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public void setSuccessAmount(Long successAmount)
    {
        this.successAmount = successAmount;
    }

    public Long getSuccessAmount()
    {
        return successAmount;
    }
    public void setSuccessNum(Integer successNum) 
    {
        this.successNum = successNum;
    }

    public Integer getSuccessNum() 
    {
        return successNum;
    }
    public void setFailAmount(Long failAmount)
    {
        this.failAmount = failAmount;
    }

    public Long getFailAmount()
    {
        return failAmount;
    }
    public void setFailNum(Integer failNum) 
    {
        this.failNum = failNum;
    }

    public Integer getFailNum() 
    {
        return failNum;
    }
    public void setTransferSceneId(String transferSceneId)
    {
        this.transferSceneId = transferSceneId;
    }

    public String getTransferSceneId()
    {
        return transferSceneId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("transferRecId", getTransferRecId())
            .append("mchid", getMchid())
            .append("outBatchNo", getOutBatchNo())
            .append("batchId", getBatchId())
            .append("appid", getAppid())
            .append("batchStatus", getBatchStatus())
            .append("batchType", getBatchType())
            .append("batchName", getBatchName())
            .append("batchRemark", getBatchRemark())
            .append("closeReason", getCloseReason())
            .append("totalAmount", getTotalAmount())
            .append("totalNum", getTotalNum())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("successAmount", getSuccessAmount())
            .append("successNum", getSuccessNum())
            .append("failAmount", getFailAmount())
            .append("failNum", getFailNum())
            .append("transferSceneId", getTransferSceneId())
            .toString();
    }
}
